package com.netcombine.freewill.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.netcombine.freewill.mapper.CommunityMapper;
import com.netcombine.freewill.vo.FreewillVo;

@Service
public class CommunityService{
	
	@Autowired
	private CommunityMapper communityMapper;
	
	public FreewillVo selectCommunityInfo(FreewillVo vo){
		
		return communityMapper.selectCommunityInfo(vo);
	}	
	
	public List<FreewillVo> selectCommunityList(FreewillVo vo){
		
		return communityMapper.selectCommunityList(vo);
	}

	public int selectCommunityCount(FreewillVo vo) {
		
		return communityMapper.selectCommunityCount(vo);
	}
	
}